package cn.lau.pp.module.vr.controller.admin.game.vo;

import com.alibaba.excel.annotation.ExcelProperty;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.*;

import java.math.BigDecimal;
import java.util.*;
import javax.validation.constraints.*;

@Schema(description = "管理后台 - vr游戏新增/修改 Request VO")
@Data
public class GameSaveReqVO {

    @Schema(description = "主键id", requiredMode = Schema.RequiredMode.REQUIRED, example = "12341")
    private Integer id;

    @Schema(description = "游戏名称", requiredMode = Schema.RequiredMode.REQUIRED, example = "芋艿")
    @NotEmpty(message = "游戏名称不能为空")
    private String name;

    @Schema(description = "游戏资源地址", example = "https://www.iocoder.cn")
    private String url;

    @Schema(description = "游戏状态 0:关闭  1:开启", requiredMode = Schema.RequiredMode.REQUIRED, example = "1")
    @NotNull(message = "游戏状态 0:关闭  1:开启不能为空")
    private Integer status;

    @Schema(description = "游戏时长", requiredMode = Schema.RequiredMode.REQUIRED, example = "1")
    @NotNull(message = "游戏时长")
    private Integer time;

    @Schema(description = "订单金额", requiredMode = Schema.RequiredMode.REQUIRED, example = "38.6")
    @NotNull(message = "订单金额")
    private BigDecimal amount;
}